다른 입력 요소를 위해 미리 정의된 선택 옵션을 갖는 자료를 나타내며 직접 렌더링 되지 않는다.
구문 콘텐츠(phrasing-content)가 예상되는 위치
0
개 이상의 <option>
요소 및 스크립트 지원(script-supporting) 요소
[Exposed=Window]
interface HTMLDataListElement : HTMLElement {
[HTMLConstructor] constructor();
[SameObject] readonly attribute HTMLCollection options;
};
<datalist> <option></option> <option></option> </datalist>
일부 글로벌 애트리뷰트는 이 요소에서 사용되지 않을 수 있다.
일부 글로벌 이벤트 핸들러는 이 요소에서 사용되지 않을 수 있다. 이벤트 등록은 자바스크립트 사용을 권장한다.